From b9c0d226c0d29aa37ea116602eeb61fae65cc6b8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Jun 2011 20:18:04 -0400 Subject: [PATCH] Add an assistant testcase --- tests/a11y/Makefile.am | 3 +- tests/a11y/assistant.txt | 405 +++++++++++++++++++++++++++++++++++++++ tests/a11y/assistant.ui | 28 +++ 3 files changed, 435 insertions(+), 1 deletion(-) create mode 100644 tests/a11y/assistant.txt create mode 100644 tests/a11y/assistant.ui diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index ad3ca0f449..8c50ac60de 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -38,4 +38,5 @@ EXTRA_DIST += \ fontchooser.ui fontchooser.txt \ messagedialog.ui messagedialog.txt \ printdialog.ui printdialog.txt \ - expander.ui expander.txt + expander.ui expander.txt \ + assistant.ui assistant.txt diff --git a/tests/a11y/assistant.txt b/tests/a11y/assistant.txt new file mode 100644 index 0000000000..8e24dba445 --- /dev/null +++ b/tests/a11y/assistant.txt @@ -0,0 +1,405 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + button1 + "push button" + index: 0 + name: Page 1 + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Button 1 + character count: 8 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + button2 + "push button" + index: 1 + name: Page 2 + state: enabled focusable sensitive visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Button 2 + character count: 8 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + unnamed-GailBox-0 + "filler" + parent: unnamed-GailBox-1 + index: 1 + state: enabled horizontal sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + Close + "push button" + parent: unnamed-GailBox-0 + index: 0 + name: Close + state: enabled focusable sensitive + toolkit: gail + + layer: widget + alpha: 1 + + text: Close + character count: 5 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: 20 x 20 + image description: (null) + + action 0 name: click + action 0 keybinding: c + action 1 name: press + action 2 name: release + Cancel + "push button" + parent: unnamed-GailBox-0 + index: 1 + name: Cancel + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Cancel + character count: 6 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: 20 x 20 + image description: (null) + + action 0 name: click + action 0 keybinding: c + action 1 name: press + action 2 name: release + Finish + "push button" + parent: unnamed-GailBox-0 + index: 2 + name: Finish + state: focusable + toolkit: gail + + layer: widget + alpha: 1 + + text: Finish + character count: 6 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 keybinding: f + action 1 name: press + action 2 name: release + Go Back + "push button" + parent: unnamed-GailBox-0 + index: 3 + name: Go Back + state: enabled focusable sensitive + toolkit: gail + + layer: widget + alpha: 1 + + text: Go Back + character count: 7 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 keybinding: b + action 1 name: press + action 2 name: release + Continue + "push button" + parent: unnamed-GailBox-0 + index: 4 + name: Continue + state: focusable showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Continue + character count: 8 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: 20 x 20 + image description: (null) + + action 0 name: click + action 0 keybinding: o + action 1 name: press + action 2 name: release + Apply + "push button" + parent: unnamed-GailBox-0 + index: 5 + name: Apply + state: enabled focusable sensitive + toolkit: gail + + layer: widget + alpha: 1 + + text: Apply + character count: 5 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: 20 x 20 + image description: (null) + + action 0 name: click + action 0 keybinding: a + action 1 name: press + action 2 name: release diff --git a/tests/a11y/assistant.ui b/tests/a11y/assistant.ui new file mode 100644 index 0000000000..aed2044489 --- /dev/null +++ b/tests/a11y/assistant.ui @@ -0,0 +1,28 @@ + + + + + False + popup + + + Button 1 + True + True + + + Page 1 + + + + + Button 2 + True + True + + + Page 2 + + + + -- 2.30.2